package com.ayoka.bean;

import com.ayoka.utils.WeChatManager;

/**
 * =========================================================
 * @ProjectName:
 * @ClassName: WechatPaymentBean
 * @Description: 微信支付信息
 * @Author: jincp
 * @CreateDate: 2019/3/14 13:21
 * =========================================================
 */
public class WechatPaymentBean implements WeChatManager.WeChatPayment {

    /**
     * return_code : SUCCESS
     * return_msg : OK
     * appid : wx43183efcac588d3f
     * partner_id : 1426437902
     * nonce_str : 6QipYb737nJ5cFe0
     * sign : A10AE92439213CA0EC3ABB7C7C3A5BE0
     * result_code : SUCCESS
     * prepay_id : wx2016123020002179da1bfb120610761716
     * trade_type : APP
     * trade_state : null
     */

    public String return_code;
    public String return_msg;
    public String appid;
    public String partner_id;
    public String nonce_str;
    public String sign;
    public String result_code;
    public String prepay_id;
    public String trade_type;
    public String trade_state;
    public String attach;

    public String timeStamp;

    @Override
    public String getTimeStamp() {
        return timeStamp;
    }

    @Override
    public String getPartnerId() {
        return partner_id;
    }

    public String getPrePayId() {
        return prepay_id;
    }

    @Override
    public String getPaySign() {
        return sign;
    }

    @Override
    public String getAppId() {
        return appid;
    }

    @Override
    public String getPackageValue() {
        return "Sign=WXPay";
    }

    @Override
    public String getNonceStr() {
        return nonce_str;
    }
}
